package org.springframework.core.style;

import org.springframework.lang.Nullable;

public interface ToStringStyler {

	void styleStart(StringBuilder buffer, Object obj);

	void styleEnd(StringBuilder buffer, Object obj);

	void styleField(StringBuilder buffer, String fieldName, @Nullable Object value);

	void styleValue(StringBuilder buffer, Object value);

	void styleFieldSeparator(StringBuilder buffer);
}
